package com.itheima.edu.info.manager.day15;

import java.io.IOException;
import java.io.OutputStream;
import java.net.Socket;

public class TcpTest {
    public static void main(String[] args) throws IOException {
        Socket st=new Socket("127.0.0.1",14725);
        OutputStream os= st.getOutputStream();
        os.write("java".getBytes());
        st.close();
    }
}
